package com.hz.edu.service;

import com.hz.edu.model.entity.CourseEntity;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface CourseService {

    int addCourse(String courseName, String courseCode,  Integer teacherId, Integer sectionCount,
                  String courseTime, Integer maxStudentCount, String courseProfile, String textbook,
                  Integer creditsCount, Integer allScore, Integer passScore);


    List<CourseEntity> allCourses();

}
